package com.factory;

public class DefaultFactory extends AbstractFactory {


    private OrangeFactory orangeFactory = new OrangeFactory();

    @Override
    protected void getFruit() {
        orangeFactory.getFruit();
    }
}
